package com.woniuedu.lecturer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuedu.lecturer.entity.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 王成亮
* @description 针对表【课程】的数据库操作Mapper
* @createDate 2022-04-18 17:01:34
* @Entity teacher.entity.Teacher
*/
public interface CourseMapper extends BaseMapper<Course> {
    //查询讲师教的课程
    List<Course> findByTeacherId(@Param("teacherId") String teacherId);
}




